xentrace: make xentrace and xenmon work on Solaris and *BSD.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Nov 2007 17:08:05 +0000 (17:08 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Nov 2007 17:08:05 +0000 (17:08 +0000)
commit995ee5c0f35ac981af6e226b1816534c71258be1
tree3f7c463741b1e7956975c58b3640c4f6408788ac
parentfec0543a2cb61d16bec0e9b247b7f1afbe1bee72
xentrace: make xentrace and xenmon work on Solaris and *BSD.
 - Use getopt() to get rid of argp dependency which does not exist
   on Solaris and *BSD. Done by Tariq Magdon-Ismail.
 - Minor modifications by me (Christoph) to make it also work on *BSD.
 - Tested on Linux by me (Christoph). No functional change on Linux.
 - Tariq ok'd BSD modifications for Solaris
 - Tariq ok'd submission by me :)

Signed-off-by: Tariq Magdon-Ismail <tariqmi@sun.com>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/xenmon/xenbaked.c
tools/xentrace/xenctx.c
tools/xentrace/xentrace.c